//
//  PatientTableViewCell.m
//  Doctors
//
//  Created by 王森 on 16/4/16.
//  Copyright © 2016年 王森. All rights reserved.
//

#import "PatientTableViewCell.h"
#import "NSString+Size.h"
@implementation PatientTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    // Initialization code
}

-(void)xiaoFeiFuZhi:(LicensedOrderModel *)model
{
    self.firstTitle.text=@"消费时间：";
    self.secondTitle.text=@"消费金额：";
    self.thirdtitle.text=@"备注：";
    self.name.text=model.username;
    self.number.text=model.mobile;
    self.yiBaoNumber.text=[NSString getDateWithTimeString:StringWithFormat(model.time)];
    self.seondContent.text=model.amount;
    self.thirdContent.text=model.remark;
    
}
-(void)fuzhi:(LicensedOrderModel *)model
{
    self.name.text=model.username;
    self.number.text=model.mobile;
    self.yiBaoNumber.text=model.medicareCard;
    self.seondContent.text=model.amount;
    self.thirdContent.text=[NSString getDateWithTimeString:StringWithFormat(model.time)];
    
}

-(void)patientVCM:(LicensedOrderModel *)model
{
    self.firstTitle.text=@"医保卡号：";
    self.secondTitle.text=@"开卡金额：";
    self.thirdtitle.text=@"消费金额：";
    self.name.text=model.name;
    self.number.text=model.mobile;
    self.yiBaoNumber.text=model.medicareCard;
    self.seondContent.text=[NSString stringWithFormat:@"%@元",model.realPrice];
    self.thirdContent.text=[NSString stringWithFormat:@"%@元",model.payPrice];
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
